//
//  HousesView.h
//  YiJuZhangShou2.0
//
//  Created by URANUS on 16/3/27.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HousesModel.h"
@protocol HousesViewDelegate <NSObject>

- (void)housesTableDidSelectWithHouseModel:(HousesModel *)houseModel;

@end

@interface HousesView : UIView

@property (nonatomic, strong) UITableView *tableView;
//房源信息数据（字符串数组）
@property (nonatomic, strong) NSMutableArray *models;
@property (nonatomic, assign) NSInteger housesCount;
@property (nonatomic, assign) NSInteger selectLayoutId;
@property (nonatomic, copy) NSString *houseType;
@property (nonatomic, weak) id<HousesViewDelegate> delegate;

/**
 *  加载房源数据
 */
- (void)loadNetModel;

@end
